package com.lee.mybatis.mapper;

import com.lee.mybatis.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lee
 */

public interface EmpMapper {
    void insert(Emp emp);

    Emp selectById(@Param("id")int id);

    List<Emp> selectAll();

    void updateById(Emp emp);

    void deleteById(@Param("id")int id);

}
